package com.PopulateDB;

import java.sql.Date;

public class PopulateItems implements PopulateFormat{
	public boolean makeThing(DBPopulator db, int usersInserted){
		return db.insertItem(getName(),
				getDescription(),
				getStartingPrice(),
				getQuantity(),
				getReservePrice(),
				getBuyNowPrice(),
				startDate(),
				endDate(),
				getSellerID(),
				getCategoryID());
	}
	
	public boolean remakeTable(DBPopulator db){
		return db.dropAddItems();
	}
	
	private String getName(){
		return "itemname";
	}
	
	private String getDescription(){
		return "itemdesc";
	}
	
	private int getStartingPrice(){
		return 0;
	}
	
	private int getQuantity(){
		return 0;
	}
	
	private int getReservePrice(){
		return 0;
	}
	
	private int getBuyNowPrice(){
		return 0;
	}
	
	private Date startDate(){
		return new Date(878979789);
	}
	
	private Date endDate(){
		return new Date(878979789);
	}
	
	private int getSellerID(){
		return 0;
	}
	
	private int getCategoryID(){
		return 0;
	}
}
